package com.kai.steering.exception;

import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * Excel异常
 * column 列为负时。指整行
 */
@Data
@ToString
public class ExcelException extends RuntimeException {
    private int page;
    private int line;
    private int column;
    private Exception information;

    public ExcelException(int page, int line, int column, Exception information) {
        this.information = information;
        this.page = page;
        this.line = line;
        this.column = column;
    }

    public ExcelException(int page, int line, int column) {
        this.page = page;
        this.line = line;
        this.column = column;
    }
}
